<link href="../core/resource/css/diy.css?v=32" rel="stylesheet">
<div class="col-md-6" style="width:328px">
<div class="diy-phone">
				<div class="phone-head"></div>
				<div class="phone-body">
					<div class="phone-title" id="page">{{modaldata.title}}</div>
					<div class="phone-main ui-sortable" id="phone" style="background-color: rgb(243, 243, 243);">
						<iframe ng-src="{{modaldata.linkurl}}" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="400px" scrolling="auto" allowTransparency="true"></iframe>
					</div>
				</div>
				<div class="phone-foot"></div>
</div>
</div>
<div class="col-md-6" style="width:428px">
<div class="fe-phone-right"></div>
<div class="fe-panel" style="width:428px">
	<div class="diy-editor">
		<div class="form-group">
			<div class="fe-panel-editor-title">扫码预览</div>
			<div class="fe-panel-editor-line">
				<div style="margin-top:80px;margin-bottom:20px;margin-left:120px;width:235px">
					<div style="height:235px;margin-top:-22px;width:185px;box-sizing:border-box;border:solid 1px #ccc;padding:16px">
							<div id="qrcode-linkurl" ng-init="qrcode(modaldata,'linkurl')">
							</div>
							<div style="margin-top:20px">
							<span>微信扫一扫</span>
							<span style="width:100%;color:#74b7e6;margin-left:18px;cursor:pointer;text-decoration:underline">下载二维码</span>
							</div>
					</div>
					<div class="input-group" style="margin-top:20px;width:186px">
						<input type="text" ng-model="modaldata.linkurl" class="form-control ng-pristine ng-valid ng-touched" autocomplete="off" readonly="readonly">
						<span class="input-group-btn">
							<button class="btn btn-info" type="button" ng-click="clip(modaldata.linkurl)">复制</button>
						</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<script>
$('#iframe').html('<iframe  src="'+window.scope.modaldata.linkurl+'" marginheight="0" marginwidth="0" frameborder="0" width="100%" scrolling="auto" allowTransparency="true"></iframe>');
</script>
